export default {
  template: `
  <div>
    <h2>{{message}}</h2>
    <button @click="btnClick">点击</button>
    <h2>{{name}}</h2>
  </div>
  `,
  data() {
    return{
      message: 'hello webpack',
      name: 'wowoow'
    }
  },
  methods: {
    btnClick(){
      console.log(0);
    }
  }
}